package model;

import handlers.ShopkeepingHandler;

public class ShopkeepingManager extends ModelObject {
	
	private static ShopkeepingManager mInstance;

	private ShopkeepingHandler mHandler;
	
	private ShopkeepingManager() {
		mHandler = null;
	}
	
	public void setHandler(ShopkeepingHandler handler) {
		mHandler = handler;
		this.notifyObservers();
	}
	
	public ShopkeepingHandler getHandler() {
		return (mHandler);
	}
	
	public static ShopkeepingManager getInstance() {
		if (mInstance == null) {
			mInstance = new ShopkeepingManager();
		}
		return (mInstance);
	}
	
	

}
